#pragma once

#include <string>
#include <vector>
#include "common.h"
#include "AndNode.h"

using	namespace	std;

class CTreeStatistic
{
	public:
		CTreeStatistic(void);
		~CTreeStatistic(void);

	public:
		double						SumDist;
		int							DistCount;

	public:
		int		InitAverageDist();
		int		MakeAverageDist(CHiBoostImageEntity &entity, NodeInstanceType &inst, double &AvePos);

		int		PrintSearchStatInfo(string strSearchStatFilaName);
};
